-----------------------------------------
-- Bluemagic: Flying Hip Press
-- Deals wind damage to enemies within
-- range.
-- AGI +1
-- Lvl.: 58 MP Cost: 125 Blue Points: 3
-----------------------------------------

require("scripts/globals/magic");
require("scripts/globals/status");
require("scripts/globals/bluemagic");

-----------------------------------------
-- OnSpellCast
-----------------------------------------

function OnMagicCastingCheck(caster,target,spell)
	return 0;
end;

function onSpellCast(caster,target,spell)
	local params = {};

	params.multiplier = 2.775; params.tMultiplier = 2.912; params.duppercap = 58;
	params.str_wsc = 0.0; params.dex_wsc = 0.0; params.vit_wsc = 0.0; params.agi_wsc = 0.0; params.int_wsc = 0.2; params.mnd_wsc = 0.5; params.chr_wsc = 0.2;
	damage = BlueMagicalSpell(caster, target, spell, params, MND_BASED);
	damage = BlueFinalAdjustments(caster, target, spell, damage, params);

	return damage;
end;	